<div id="central" class="warp"> {include file="index/menu"}
  <div id="main" class="friends">
    <div id="header">
      <div class="title">
        <h1>我的联系人</h1>
      </div>
      <div class="return"><a href="{$url(index/index)}">中心首页</a></div>
      <div class="fn-clear"></div>
    </div>
    <div id="tab" class="tabs">
      <ul>
        <li><a class="selected"  href="#">修改备注</a></li>
        <li><a href="{$url(friends/index)}">返回联系人列表</a></li>
      </ul>
      <div class="menu"> </div>
      <div class="fn-clear"></div>
    </div>
    <div class="form">
    <form action="{$url(friends/edit_save)}" method="post" id="form">
    	<ul>
       	  <li><label>联系人帐号：</label> {$info.nicename} ({$info.company}) [{$info.username}] </li>
          <li><label>备注：</label>  <input name="remark" type="text" class="text" id="remark" value="" > (留空取消备注) </li>
          <input name="fid" type="hidden" value="{$info.uid}" />
          <li><label></label> <button class="button" type="submit">确认修改</button><span id="tip" class="load"></span></li>
        </ul>
    </form>
    </div>
    <div class="fn-clear"></div>
  </div>
  <div class="fn-clear"></div>
</div>
<script>
Do.ready('userbase','form','dialog', function() {
	saveform(function(){
		$('#tip').text('备注修改成功，马上为您转入联系人列表');
		window.setTimeout(function(){ 
			window.location.href="<?php echo url('friends/index') ?>";
		},3000);
	});
});
</script> 